import Layout from '@/layouts';

export default [
  {
    path: '/setting',
    name: 'Setting',
    component: Layout,
    redirect: '/setting/base',
    meta: { title: '设置', icon: 'setting' },
    children: [
      {
        path: 'base',
        name: 'BaseSetting',
        component: () => import('@/pages/settings/base/index.vue'),
        meta: { title: '基础设置' },
      },
      {
        path: 'agree',
        name: 'Agreement',
        component: () => import('@/pages/settings/agree/index.vue'),
        meta: { title: '协议和声明' },
      },
      {
        path: 'best',
        name: 'BestSetting',
        component: () => import('@/pages/settings/best/index.vue'),
        meta: { title: '偏好设置' },
      },
    ],
  },
];
